package com.vdong.rms.repository.dao;

import com.vdong.rms.entity.mo.RuleRole;
import com.vdong.rms.entity.mo.RuleRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RuleRoleMapper {
    int countByExample(RuleRoleExample example);

    int deleteByExample(RuleRoleExample example);

    int deleteByPrimaryKey(Integer ruleRoleId);

    int insert(RuleRole record);

    int insertSelective(RuleRole record);

    List<RuleRole> selectByExample(RuleRoleExample example);

    RuleRole selectByPrimaryKey(Integer ruleRoleId);

    int updateByExampleSelective(@Param("record") RuleRole record, @Param("example") RuleRoleExample example);

    int updateByExample(@Param("record") RuleRole record, @Param("example") RuleRoleExample example);

    int updateByPrimaryKeySelective(RuleRole record);

    int updateByPrimaryKey(RuleRole record);
}